#include <heap_array.h>
Inheritance diagram for common_structures::heap_array< T, CmpT >:


Public Member Functions | |
| heap_array () | |
| void | clear () |
| void | reserve (size_t Size) |
| size_t | size () const |
| bool | empty () const |
| bool | locked () const |
| bool | removed (size_t i) const |
| bool | valid (size_t i) const |
| const T & | top () const |
| const T & | peek (size_t i) const |
| const T & | operator[] (size_t i) const |
| size_t | push (const T &Elem) |
| void | pop () |
| void | erase (size_t i) |
| void | update (size_t i, const T &Elem) |
Protected Types | |
| typedef std::vector< linker > | linked_heap |
| typedef std::vector< size_t > | finder |
Protected Member Functions | |
| void | Adjust (size_t i) |
| void | Swap (size_t a, size_t b) |
| bool | Less (const linker &a, const linker &b) const |
Protected Attributes | |
| linked_heap | m_Heap |
| finder | m_Finder |
| CmpT | m_Compare |
| bool | m_Locked |
|
|||||
|
|
|
|||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3-rc3